package data;

public class BookData {
    public String[] booknames=new String[20];
    public String[] authors=new String[10];
    public String[] presss=new String[10];
    public String[] types=new String[10];
    public String[] borrowreaders=new String[10];
    public BookData(){

        {
            String noreader="无";
            for(int i=0;i<borrowreaders.length;i++){
                borrowreaders[i]=noreader;

            }
            for(int i=0;i<5;i++){
                switch (i){
                    case 0:
                        booknames[i]="神迹";
                        authors[i]="学无泪";
                        presss[i]="湖南出版社";
                        types[i]="历史";
                        break;
                    case 1:
                        booknames[i]="老人";
                        authors[i]="地方";
                        presss[i]="浙江出版社";
                        types[i]="小说";
                        break;
                    case 2:
                        booknames[i]="芜湖";
                        authors[i]="规划";
                        presss[i]="安徽出版社";
                        types[i]="玄幻";
                        break;
                    case 3:
                        booknames[i]="峰会";
                        authors[i]="东方";
                        presss[i]="人民出版社";
                        types[i]="军事";
                        break;
                    case 4:
                        booknames[i]="促进会";
                        authors[i]="学无";
                        presss[i]="湖北出版社";
                        types[i]="政治";
                        break;

                }
            }
        }
    }

}
